<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>


<style>
    div {
        border: 1px solid black;
        margin: 25px 50px;
        background-color: lightpink;
    }
</style>

<h1>简写属性 margin - 2 个值</h1>
<div>div 元素的上下外边距是 25 像素，左右外边距是 50 像素。</div>
</body>

</html>